.category {
  .p-layout-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .category-card-box {
    display: grid;
    grid-template-columns: repeat(auto-fill, 270px);
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    justify-content: center;

    .category-card {
      position: relative;
      width: 270px;
      padding: 20px;
      box-sizing: border-box;
      border: 1px solid transparent;
      border-radius: 10px;
      box-shadow: #9c9c9c 0 0 15px;

      .anticon-menu {
        position: absolute;
        top: 20px;
        left: 20px;
      }

      .anticon-edit {
        position: absolute;
        top: 20px;
        right: 20px;
      }

      .category-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        .ant-avatar {
          margin-bottom: 30px;
        }
      }
    }
  }

  .add-button {
    display: flex;
    justify-content: center;
    margin-top: 30px;

    & > div {
      border: 1px dashed #dadada;
      width: 1510px;
      box-sizing: border-box;
      padding: 30px 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
}